import React, { Component } from 'react'
import GlobalContext from '../../utils/getGlobalContext'

export default class HomePage extends Component {
  render() {
    return (
      <GlobalContext.Consumer>
        {
          (value) => {
            console.log('value:', value)
            return <div>
              首页
            </div>
          }
        }

      </GlobalContext.Consumer>

    )
  }
}
